package com.fsai.cms.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fsai.cms.base.BaseEntity;

/**
 * 维护页面对象 page_repair_upgrade
 * 
 * @author jaffe
 * @date 2021-03-13
 */
public class PageRepairUpgrade extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键ID */
	private Integer pruId;

	/** 图片 */
	private String pruImg;

	/** 维护升级文案 */
	private String pruDesc;

	/** 预计恢复时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date planCompleteDatetime;

	/** 启用状态（0启用 1关闭） */
	private String status;

	public void setPruId(Integer pruId) {
		this.pruId = pruId;
	}

	public Integer getPruId() {
		return pruId;
	}

	public void setPruImg(String pruImg) {
		this.pruImg = pruImg;
	}

	public String getPruImg() {
		return pruImg;
	}

	public void setPruDesc(String pruDesc) {
		this.pruDesc = pruDesc;
	}

	public String getPruDesc() {
		return pruDesc;
	}

	public void setPlanCompleteDatetime(Date planCompleteDatetime) {
		this.planCompleteDatetime = planCompleteDatetime;
	}

	public Date getPlanCompleteDatetime() {
		return planCompleteDatetime;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("pruId", getPruId())
				.append("pruImg", getPruImg()).append("pruDesc", getPruDesc())
				.append("planCompleteDatetime", getPlanCompleteDatetime()).append("status", getStatus())
				.append("createBy", getCreateBy()).append("createTime", getCreateTime())
				.append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark())
				.toString();
	}
}
